package cn.huiyunche.base.service.vo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运价查询实体类
 *
 * @author hdy [Tuffy]
 */
public class FeesSearchForm {

    private String depacode;

    private String destcode;

    private Long vclassId;

    private String vclass;

    // 时间
    @DateTimeFormat(iso = ISO.DATE)
    private Date adate;

    private String atime;

    private BigDecimal estValue;

    private int amount;

    private boolean isPick;

    private boolean isDeliv;

    public String getDepacode() {
        return depacode;
    }

    public String getDestcode() {
        return destcode;
    }

    public void setDestcode(String destcode) {
        this.destcode = destcode;
    }

    public Long getVclassId() {
        return vclassId;
    }

    public void setVclassId(Long vclassId) {
        this.vclassId = vclassId;
    }

    public String getVclass() {
        return vclass;
    }

    public void setVclass(String vclass) {
        this.vclass = vclass;
    }

    public Date getAdate() {
        return adate;
    }

    public void setAdate(Date adate) {
        this.adate = adate;
    }

    public String getAtime() {
        return atime;
    }

    public void setAtime(String atime) {
        this.atime = atime;
    }

    public BigDecimal getEstValue() {
        return estValue;
    }

    public void setEstValue(BigDecimal estValue) {
        this.estValue = estValue;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public boolean getIsPick() {
        return isPick;
    }

    public void setIsPick(boolean isPick) {
        this.isPick = isPick;
    }

    public boolean getIsDeliv() {
        return isDeliv;
    }

    public void setIsDeliv(boolean isDeliv) {
        this.isDeliv = isDeliv;
    }

    public void setDepacode(String depacode) {
        this.depacode = depacode;
    }

    @Override
    public String toString() {
        return "FeesSearchVo [depacode=" + depacode + ", destcode=" + destcode + ", vclassId=" + vclassId + ", vclass="
                + vclass + ", adate=" + adate + ", atime=" + atime + ", estValue=" + estValue + ", amount=" + amount
                + ", isPick=" + isPick + ", isDeliv=" + isDeliv + "]";
    }
}
